package com.kuangstudy.exception;

/**
 * ClassName: Mouse
 * date: 2021/07/12 11:08:26
 *
 * @author zlk
 */
public class Test {
    public static void main(String[] args) {
        int a = 1;
        int b = 0;
        try {
            if (b == 0){
                throw new Exception();
            }
            System.out.println(a/b);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
